<header class="main-header">
    <!-- Logo -->
    <a href="javascript:return false" class="logo">
        <!-- mini logo for sidebar mini 50x50 pixels -->
        <span class="logo-mini">
            <b>P</b>MC</span>
        <!-- logo for regular state and mobile devices -->
        <span class="logo-lg">
            <b>PT</b>PMC Report</span>
    </a>
    <!-- Header Navbar: style can be found in header.less -->
    <nav class="navbar navbar-static-top">
        <!-- Sidebar toggle button-->
        <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
        </a>
        <ul class="nav nav-pills gd">
            <li *ngFor="let i of menuList" [ngClass]="i.isSelect?'active':''">
                <a (click)="showUrl(i.module)"><span>{{i.title}}</span><a (click)="closeUrl(i.module,true)" class="del">x</a></a>
            </li>
        </ul>
        <div class="navbar-custom-menu">
            <ul class="nav navbar-nav">
                <li class="dropdown">
                    <dx-select-box style="width:130px;height:33px;margin-bottom:0px;margin-top:6px;border-radius: 0px"
                        [items]="projectItems" displayExpr="projectDesc" [(selectedItem)]="projectSelected"
                        (onValueChanged)="projectSelectChange($event)" [value]="projectSelected" [searchEnabled]="true">
                    </dx-select-box>
                </li>
                <!-- Messages: style can be found in dropdown.less-->

                <!-- 顶部任务栏下拉功能 -->

                <!-- User Account: style can be found in dropdown.less -->
                <li class="dropdown user user-menu">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                        <img src="../../../../assets/AdminLTE/dist/img/avatar5.png" class="user-image" alt="User Image">
                        <span class="hidden-xs">{{curUserName}}</span>
                    </a>
                    <ul class="dropdown-menu" (click)="clickPanle($event)">
                        <li class="user-header">
                            <img src="../../../../assets/AdminLTE/dist/img/avatar5.png" class="img-circle" alt="User Image">

                            <p>
                                欢迎登陆 PTPMC 系统
                                <small>Member since Nov. 2018</small>
                            </p>
                        </li>
                        <li class="user-body">
                            <!-- <div class="row">
                                <div class="col-xs-4 text-center">
                                    <a href="#">关注</a>
                                </div>
                                <div class="col-xs-4 text-center">
                                    <a href="#">收藏</a>
                                </div>
                                <div class="col-xs-4 text-center">
                                    <a href="#">我的</a>
                                </div>
                            </div> -->
                        </li>
                        <li class="user-footer">
                            <!-- <div class="pull-left">
                                <a href="#" class="btn btn-default btn-flat">个人主页</a>
                            </div> -->
                            <div class="pull-right">
                                <a (click)="exitApp()" class="btn btn-default btn-flat">退出系统</a>
                            </div>
                        </li>
                    </ul>
                </li>
                <!-- Control Sidebar Toggle Button -->
                <!-- <li>
                    <a href="#" data-toggle="control-sidebar"><i class="fa fa-gears"></i></a>
                </li> -->
            </ul>
        </div>
    </nav>
</header>